import cookie from 'cookie_js'

// cookie 存储
export function getToken(){
    return cookie.get('token')
}
export function setToken(token){
    cookie.set('token',token)
}
// username存储
export function getUsername(){
    return cookie.get('username')
}
export function setUsername(username){
    cookie.set('username',username)
}
// 移除TOKEN
export function removeToken(){
    cookie.remove('token')
}
